﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GrayParrot.Web.Controls
{
    /// <summary>
    /// Data Loading Modes...
    /// </summary>
    /// <remarks>
    /// OnLoad: Data are loaded on page loading
    /// OnDemand: Data are loaded on Custom Button Click
    /// </remarks>
    public enum LoadingModes
    {
        [Description("Data are loaded on page loading")]
        OnLoad = 0,
        [Description("Data are loaded on Custom Button Click")]
        OnDemand,
        [Description("Data are inserted manual programmatically")]
        Manual,
        [Description("Data are loaded forcing a redraw of the grid. Specify a ControllerParameter(s) indicates the parameters needed to load data")]
        Redraw
    }
}
